package cn.hy.service;

import cn.hy.mq.MqSecKillMessage;
import cn.hy.rabbitmq.MQSender;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
@Service
public class MqServiceImpl implements MqService{


    @Resource
    private MQSender mqSender;


    @Override
    public void sendSecKillMsg(MqSecKillMessage mqSecKillMessage) {
        mqSender.sendSecKillMessage(mqSecKillMessage);
    }
}
